
import type {SelectProps} from "antd";
import { Tag} from "antd";

export const UserStatus = {
  //启用
  ENABLE: 1101,

  //禁用
  DISABLED: 1001,

  //冻结
  FREEZE: 1201,

}



export const UserStatusOption: SelectProps["options"] = [
  {
    label: <Tag color={"success"} bordered={false}>启用</Tag>,
    value: 1101
  },
  {
    label: <Tag color={"error"} bordered={false}>禁用</Tag>,
    value: 1001
  },
  {
    label: <Tag color={"warning"} bordered={false}>冻结</Tag>,
    value: 1201
  }
]

